﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExaminationTT.Rule;

namespace ExaminationTT.View
{
    public class ViewRule
    {
        private IRule _rule;
        public ViewRule(IRule rule)
        {
            _rule = rule;
            Active = true;
        }
        public bool Active
        {
            get;
            set;
        }
        public string Name
        {
            get { return _rule.Name; }
        }
        public IRule Rule
        {
            get { return _rule; }
        }

    }
}
